package com.example.wod.retrofitdemo.Bean;

import java.io.Serializable;

/**
 * Created by LX on 2016/1/7.
 */
public class Getbonus  implements Serializable {

    /**
     * code : SUCCESS
     * info : 获取成功！
     * data : {"id":"993","type":"putong","hb_group":"3","merchant":"于记香辣虾","ad_img":"http://7xp4uq.com1.z0.glb.clouddn.com/2015-12-28_5681226f2a787.jpg","ad_url":"http://wyx.wkidt.com/index.php?m=local&c=Index&a=list_house","adb_time":10,"problem":"广告中宫保鸡丁瓦煲焗饭多少钱？","answer1":"15元","answer2":"16元","answer3":"18元","correct_answer":"A"}
     */

    private String code;
    private String info;
    /**
     * id : 993
     * type : putong
     * hb_group : 3
     * merchant : 于记香辣虾
     * ad_img : http://7xp4uq.com1.z0.glb.clouddn.com/2015-12-28_5681226f2a787.jpg
     * ad_url : http://wyx.wkidt.com/index.php?m=local&c=Index&a=list_house
     * adb_time : 10
     * problem : 广告中宫保鸡丁瓦煲焗饭多少钱？
     * answer1 : 15元
     * answer2 : 16元
     * answer3 : 18元
     * correct_answer : A
     */

    private DataEntity data;

    public void setCode(String code) {
        this.code = code;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity  implements Serializable {
        private String id;
        private String type;
        private String hb_group;
        private String merchant;
        private String ad_img;
        private String ad_url;
        private int adb_time;
        private String problem;
        private String answer1;
        private String answer2;
        private String answer3;
        private String correct_answer;

        public void setId(String id) {
            this.id = id;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setHb_group(String hb_group) {
            this.hb_group = hb_group;
        }

        public void setMerchant(String merchant) {
            this.merchant = merchant;
        }

        public void setAd_img(String ad_img) {
            this.ad_img = ad_img;
        }

        public void setAd_url(String ad_url) {
            this.ad_url = ad_url;
        }

        public void setAdb_time(int adb_time) {
            this.adb_time = adb_time;
        }

        public void setProblem(String problem) {
            this.problem = problem;
        }

        public void setAnswer1(String answer1) {
            this.answer1 = answer1;
        }

        public void setAnswer2(String answer2) {
            this.answer2 = answer2;
        }

        public void setAnswer3(String answer3) {
            this.answer3 = answer3;
        }

        public void setCorrect_answer(String correct_answer) {
            this.correct_answer = correct_answer;
        }

        public String getId() {
            return id;
        }

        public String getType() {
            return type;
        }

        public String getHb_group() {
            return hb_group;
        }

        public String getMerchant() {
            return merchant;
        }

        public String getAd_img() {
            return ad_img;
        }

        public String getAd_url() {
            return ad_url;
        }

        public int getAdb_time() {
            return adb_time;
        }

        public String getProblem() {
            return problem;
        }

        public String getAnswer1() {
            return answer1;
        }

        public String getAnswer2() {
            return answer2;
        }

        public String getAnswer3() {
            return answer3;
        }

        public String getCorrect_answer() {
            return correct_answer;
        }
    }
}
